import json
import os


class Openrationjson:
    @staticmethod
    def build_data(filepath):
        with open(filepath, mode='r', encoding='utf-8') as f:
            json_data = json.load(f)
        return json_data


if __name__ == '__main__':
    filepath = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'data/login_case_data.json')
    print(Openrationjson.build_data(filepath))
